package com.cnb.telepathytalk.dto;

public class SearchWordDTO implements InterfaceDTO {
	private String searchWord;
	private int gender;
	private int ageFrom;
	private int ageTo;

	public SearchWordDTO(String searchWord, int gender, int ageFrom, int ageTo) {
		super();
		this.searchWord = searchWord;
		this.gender = gender;
		this.ageFrom = ageFrom;
		this.ageTo = ageTo;
	}

	public String getSearchWord() {
		if (searchWord == null)
			return "";
		return searchWord;
	}

	public void setSearchWord(String searchWord) {
		this.searchWord = searchWord;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public int getAgeFrom() {
		return ageFrom;
	}

	public void setAgeFrom(int ageFrom) {
		this.ageFrom = ageFrom;
	}

	public int getAgeTo() {
		return ageTo;
	}

	public void setAgeTo(int ageTo) {
		this.ageTo = ageTo;
	}
}